           <div id="wrapper-content" align="left">
  <table class="titrepage" width="100%">
        <tr>
     <td >La liste des Newsletter</td>
     <td align="right">Total | <?php echo $total?> </td>

 </tr>
 </table>
 <div align="left" id="ajouter">
<a href="<?php echo site_url('gestion_newsletter/add_newsletter')?>">R&eacute;diger nouveau newsletter</a>
</div>
   <table width="100%" class="list">
        <thead>
        <tr>
             <th>Titre</th>
              <th>Date</th>
            <th colspan="2">Action</th>
          </tr>
        </thead>
    <?php foreach ($query as $aRow):?>
        <tr>

            <td><?php echo $aRow['titre'];?></td>
            <td><?php echo convertdate($aRow['dat']);?></td>
           <td width="70px"><a  href="<?php echo site_url('gestion_newsletter/detail_newsletter').'/'.$aRow['id'].'/'.$perpage.'/'.$offset;?>" ><img border="0"src="<?php echo base_url().'assets/admin/'?>images/detail.png"/></a></td>
            <td width="70px">
                <a class="supprimer" href="#" ><img border="0"src="<?php echo base_url().'assets/admin/'?>images/supprimer.png"/></a>
            <div style="display:none">
                Confirmer <br/>
           <a href="<?php echo site_url('gestion_newsletter/delete_newsletter').'/'.$aRow['id'].'/'.$perpage.'/'.$offset;?>"> <img border="0"src="<?php echo base_url().'assets/admin/'?>images/oui.png"/></a>
               <a class="non" href="#" ><img  border="0"src="<?php echo base_url().'assets/admin/'?>images/non.png"/></a>
    </div>
    </td>

        </tr>
    <?php endforeach;?>
     </table>
     <?php echo $pagination;?>
</div>
<!--END wrapper-content-->
